#ifndef MAINMENUS_H
#define MAINMENUS_H

#include <QMenuBar>

class MainMenus : public QMenuBar {
    Q_OBJECT
public:
    explicit MainMenus(QWidget *parent = nullptr);
    ~MainMenus();

    void reloadStrings();

public:
    QMenu *fileMenu;
    QMenu *editMenu;
    QMenu *viewMenu;
    QMenu *helpMenu;

    QAction *openFile;
    QAction *openDir;
    QAction *openRecent;

    QAction *saveFile;
    QAction *saveAll;

    QAction *closeFile;
    QAction *restoreFile;

    QAction *exitApp;

    QAction *aboutApp;
    QAction *aboutQt;

private:
    void handleMenuTriggered(QAction *action);

signals:
};

#endif // MAINMENUS_H
